package metier.entities;

import java.io.Serializable;

import javax.persistence.Embeddable;
import javax.persistence.ManyToOne;


@Embeddable
public class ClientAbonnementId implements Serializable{
	
	
	@ManyToOne
	private Client client;
	
	
	@ManyToOne
	private Abonnement abonnement;


	public Client getClient() {
		return client;
	}


	public void setClient(Client client) {
		this.client = client;
	}


	public Abonnement getAbonnement() {
		return abonnement;
	}


	public void setAbonnement(Abonnement abonnement) {
		this.abonnement = abonnement;
	}


	public ClientAbonnementId(Client client, Abonnement abonnement) {
		super();
		this.client = client;
		this.abonnement = abonnement;
	}


	public ClientAbonnementId() {
		super();
	}
	
	
	
	

}
